FROM centos:7
MAINTAINER lyon
RUN yum update -y
RUN yum install -y vim
RUN yum install -y httpd
RUN touch /var/www/html/index.html
RUN echo "hello --lyon " >> /var/www/html/index.html
EXPOSE 80
ADD run-httpd.sh /run-httpd.sh
RUN chmod -v +x /run-httpd.sh
CMD ["/run-httpd.sh"]
